//
//  MyTaoBaoViewController.m
//  IGOtest
//
//  Created by administrator on 14-2-20.
//  Copyright (c) 2014年 administrator. All rights reserved.
//

#import "MyTaoBaoViewController.h"
#import "AppDelegate.h"

@interface MyTaoBaoViewController ()
{
    AppDelegate *del;
}

@end

@implementation MyTaoBaoViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
            }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    del = [[UIApplication sharedApplication]delegate ];
    if (del.username ==nil) {
        self.usernames.text = @"您未登录";
        self.goodsname.text =@"您未登录";
        }
    else
    {
        self.usernames.text =del.username;
//        self.goodsname.text = del.cartList;
    }
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
